package util;

public class T {

    public T() {
        System.out.println("new t");
    }

    {
        System.out.println("t1");
    }

    static {
        System.out.println("s t1");
    }


    public static void main(String[] args) {
        new T2();
    }
}

class T2 extends T {
    public T2() {
        System.out.println("new t2");
    }

    {
        System.out.println("t2");
    }

    static {
        System.out.println("s t2");
    }

}